<?php
error_reporting(E_ALL);
if (!isset($_SESSION['username']))
{
	if ($_SESSION['config']['register_login'] == 1)
	{
		echo 'U bent <strong>niet</strong> <a href="' . $_CONFIG['url'] . '9/Login.html">ingelogd</a>';
	}
}
else
{
	if (IsAdmin($_SESSION['username']) == true)
	{
		echo 'Ingelogd als: ' . $_SESSION['username'] . ' <a href="' . $_SESSION['config']['url'] . 'acp">(A)</a>';
	}
	else
	{
		echo 'Ingelogd als: ' . $_SESSION['username'];
	}
}
?>
